To test file type recognition from file name